package com.wanlong.sys.service;

import com.github.pagehelper.PageInfo;
import com.wanlong.sys.model.SysRole;

import java.util.List;

public interface ISysRoleService {
    public long insert(SysRole sysRole);
    public int update(SysRole sysRole);
    public int delete(SysRole sysRole);
    public PageInfo<SysRole> getPageSysRoleListByName(String name, Integer pageNo, Integer pageSize);

    public List<SysRole> getAllSysRoleList();

}
